home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 42
/
Amiga Format AFCD42 (Issue 126, Aug 1999).iso
/
-serious-
/
programming
/
other
/
wild
/
support
/
wilf
/
firsttry
/
entry.s
< prev
next >
Wrap
Text File
|
1999-05-25
|
312b
|
20 lines
**
** Startup code in assemply: include at first
**
output entry.ao
opt l+
opt o-
XDEF __exit
XDEF __entry
XREF _starter
__entry movem.l d1-d7/a0-a6,-(a7)
move.l a7,stacksv
bsr _starter
__exit move.l 4(a7),d0 ; extract the err param!
move.l stacksv,a7
movem.l (a7)+,d1-d7/a0-a6
rts
stacksv dc.l 0